package com.one.common.model.http.base;


import java.io.Serializable;
import java.lang.Error;

/**
 * 服务端返回的最外层数据基类
 */

public class BaseResponse<T> implements Serializable {

    private String error;
    private String status;
    private String total;
    private T data;

    public String getError() {
        return error;
    }

    public void setError(String error) {
        this.error = error;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getTotal() {
        return total;
    }

    public void setTotal(String total) {
        this.total = total;
    }

    public T getData() {
        return data;
    }

    public void setData(T data) {
        this.data = data;
    }
}
